package com.sugar.persistence.system.privilege;

import java.util.LinkedHashMap;
import java.util.List;

import com.sugar.common.query.PageModel;
import com.sugar.domain.system.privilege.PrivilegeResourceItem;

public interface IPrivilegeResourceItem {
	
	public void savePrivilegeResourceItemDao(PrivilegeResourceItem pri) throws RuntimeException ;
	
	public void deletePrivilegeResourceItemDao(PrivilegeResourceItem pri) throws RuntimeException ;
	
	public void deleteSelectPrivilegeResourceItemDao(Object[] ids) throws RuntimeException ;
	
	public void updatePrivilegeResourceItemDao(PrivilegeResourceItem pri) throws RuntimeException ;
	
	public PrivilegeResourceItem loadPrivilegeResourceItemByIdDao(int id) throws RuntimeException ;
	
	public List<PrivilegeResourceItem> findPrivilegeResourceItemDao(String queryString,String whereStr,Object[] param,LinkedHashMap<String, String> orderby) throws RuntimeException ;
	
	public PageModel<PrivilegeResourceItem> getScorllPrivilegeResourceItemDao(String queryString,String whereStr,Object[] param,int firstPage,int pageSize,LinkedHashMap<String, String> orderby) throws RuntimeException ;
	
	

}
